package cn.xudy.group.Controller;

import cn.xudy.group.Service.StorageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * Created by Ulegal on 2017/11/1.
 */

@RestController
public class StorageController {

    @Autowired
    StorageService storageService;


    @GetMapping(value = "/Storage")
    public String Storage(){

        List<Map<String,Object>> list = new ArrayList<Map<String, Object>>();

        list = storageService.getInfo();

        return "你好";
    }

}





















